package com.zhang.authoritycenter.dao.authority;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.authoritycenter.common.model.dao.authority.AuthorityApiDO;
import com.zhang.authoritycenter.common.model.dto.authority.ApiQueryPageReqDTO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统api接口表 Mapper 接口
 * </p>
 *
 * @author KingHood
 * @since 2023-12-18
 */
public interface AuthorityApiMapper extends BaseMapper<AuthorityApiDO> {

    /**
     * 获取分页api数据
     *
     * @param page 分页数据
     * @param in   入参
     * @return 分页api数据
     * @author zfj
     * @date 2023/12/19
     */
    Page<AuthorityApiDO> queryPage(Page<Object> page, @Param("data") ApiQueryPageReqDTO in);

}
